//假数据
var data = [
    {
        "name":"商品1",
        "price":"100.00",
        "time":"2021-08-19",
        "src":"http://p1.meituan.net/200.0/deal/eb979ff87b5540bb12b3afa53a8462af45192.jpg@132_0_438_438a%7C267h_267w_2e_90Q",
        "id":1
    },
    {
        "name":"商品2",
        "price":"58.00",
        "time":"2021-08-18",
        "src":"http://p1.meituan.net/200.0/deal/41d2875e8df7eed46b457aff5f64bd9c145456.jpg@207_0_813_813a%7C267h_267w_2e_90Q",
        "id":2
    },
    {
        "name":"商品3",
        "price":"68.00",
        "time":"2021-08-17",
        "src":"http://p1.meituan.net/200.0/deal/141dcad42194f29a9a1613efded19a15127150.jpg",
        "id":3
    },
    {
        "name":"商品4",
        "price":"78.00",
        "time":"2021-08-16",
        "src":"http://p1.meituan.net/200.0/deal/426bf0fa5a35cdff2d115bf2741244fb224851.jpg@442_0_1136_1136a%7C267h_267w_2e_90Q",
        "id":4
    }
]